package com.team.ai.mapper;

import com.team.ai.entity.Book;
import com.team.ai.entity.Carousel;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CarouselMapper {

    int insert(String img,int bookid);

    int delete(int id);

    int update(String img,int bookid,int id);
    List<Carousel> selectList();

    Carousel  selectDetail(int id);
}
